package HomeWork.Chapter04;

/**
 * Enjoy programming!!!
 * Time: 2021/11/22 -  0:02
 */
class CPU {
    private float temp;
    private int speed;

//    public CPU(float x) {
//        temp = x;
//    }

    public int getSpeed() {
        return speed;
    }

    public void setSpeed(int m) {
        speed = m;
    }

    public void setTemp(float x) {
        temp = x;
    }

    public float getTemp() {
        return temp;
    }
}
